<?php
setcookie("username","sun");//用户--关闭浏览器，cookie就会被删除
setcookie("mima","123456",  time()+3600*24);
setcookie("tian","sunny",time()-1);